﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace EF测试DbSet.Models.Entites
{
    ///<summary>
    ///PersonPhone的实体类
    ///</summary>
    [Table("PersonPhone")]
    public class PersonPhone
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [Column("Id")]
        public int Id { get; set; }
        /// <summary>
        /// name
        /// </summary>
        [Column("Name")]
        public string Name { get; set; }
        /// <summary>
        /// phone
        /// </summary>
        [Column("Phone")]
        public string Phone { get; set; }
        /// <summary>
        /// phoneType
        /// </summary>
        [Column("PhoneType")]
        public int PhoneType { get; set; }
        /// <summary>
        /// isDefault
        /// </summary>
        [Column("IsDefault")]
        public int IsDefault { get; set; }
        /// <summary>
        /// createTime
        /// </summary>
        [Column("CreateTime")]
        public System.DateTime CreateTime { get; set; }
    }
}